<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenIG: OpenIG::Base::LightAttributes Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="openig_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenIG
   &#160;<span id="projectnumber">2.0.7</span>
   </div>
   <div id="projectbrief">cross-platform open-source OpenSceneGraph Image Generator</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>OpenIG</b></li><li class="navelem"><b>Base</b></li><li class="navelem"><a class="el" href="struct_open_i_g_1_1_base_1_1_light_attributes.html">LightAttributes</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_open_i_g_1_1_base_1_1_light_attributes-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenIG::Base::LightAttributes Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="struct_open_i_g_1_1_base_1_1_light_attributes.html" title="The LightAttributes struct. ">LightAttributes</a> struct.  
 <a href="struct_open_i_g_1_1_base_1_1_light_attributes.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_types_8h_source.html">Types.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aa6c7a573d9d54c46afc14cbde50bec64"><td class="memItemLeft" align="right" valign="top"><a id="aa6c7a573d9d54c46afc14cbde50bec64"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Mask</b> { <br />
&#160;&#160;<b>AMBIENT</b> = 1, 
<b>DIFFUSE</b> = 2, 
<b>SPECULAR</b> = 4, 
<b>BRIGHTNESS</b> = 8, 
<br />
&#160;&#160;<b>CONSTANTATTENUATION</b> = 16, 
<b>SPOTCUTOFF</b> = 32, 
<b>CLOUDBRIGHTNESS</b> = 64, 
<b>WATERBRIGHTNESS</b> = 128, 
<br />
&#160;&#160;<b>LOD</b> = 256, 
<b>REALLIGHTLOD</b> = 512, 
<b>ENABLED</b> = 1024, 
<b>RANGES</b> = 2048, 
<br />
&#160;&#160;<b>ANGLES</b> = 4096, 
<b>ALL</b>
<br />
 }</td></tr>
<tr class="separator:aa6c7a573d9d54c46afc14cbde50bec64"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a373a118a2d4ed9610feafde21ad9ec26"><td class="memItemLeft" align="right" valign="top"><a id="a373a118a2d4ed9610feafde21ad9ec26"></a>
osg::Vec4&#160;</td><td class="memItemRight" valign="bottom"><b>ambient</b></td></tr>
<tr class="separator:a373a118a2d4ed9610feafde21ad9ec26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa728d94052a23bca754e98a606e97b4a"><td class="memItemLeft" align="right" valign="top"><a id="aa728d94052a23bca754e98a606e97b4a"></a>
osg::Vec4&#160;</td><td class="memItemRight" valign="bottom"><b>diffuse</b></td></tr>
<tr class="separator:aa728d94052a23bca754e98a606e97b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae27d963185f4287c17d1d1413e96cf6a"><td class="memItemLeft" align="right" valign="top"><a id="ae27d963185f4287c17d1d1413e96cf6a"></a>
osg::Vec4&#160;</td><td class="memItemRight" valign="bottom"><b>specular</b></td></tr>
<tr class="separator:ae27d963185f4287c17d1d1413e96cf6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad43c5077791bacc328c3d9136fa41be"><td class="memItemLeft" align="right" valign="top"><a id="aad43c5077791bacc328c3d9136fa41be"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>brightness</b></td></tr>
<tr class="separator:aad43c5077791bacc328c3d9136fa41be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08fc37f3c11b0aca791b261581aa71cb"><td class="memItemLeft" align="right" valign="top"><a id="a08fc37f3c11b0aca791b261581aa71cb"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>constantAttenuation</b></td></tr>
<tr class="separator:a08fc37f3c11b0aca791b261581aa71cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebe31b6824598aaf7f5613a36298e74c"><td class="memItemLeft" align="right" valign="top"><a id="aebe31b6824598aaf7f5613a36298e74c"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>spotCutoff</b></td></tr>
<tr class="separator:aebe31b6824598aaf7f5613a36298e74c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c3180aa5ac9ec607165155ef8fb045c"><td class="memItemLeft" align="right" valign="top"><a id="a7c3180aa5ac9ec607165155ef8fb045c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>enabled</b></td></tr>
<tr class="separator:a7c3180aa5ac9ec607165155ef8fb045c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a756f296b5f0e6b06446cd1a44faf0d60"><td class="memItemLeft" align="right" valign="top"><a id="a756f296b5f0e6b06446cd1a44faf0d60"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>cloudBrightness</b></td></tr>
<tr class="separator:a756f296b5f0e6b06446cd1a44faf0d60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ac3bce54889b8fdbdc4c982bda226e5"><td class="memItemLeft" align="right" valign="top"><a id="a0ac3bce54889b8fdbdc4c982bda226e5"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>waterBrightness</b></td></tr>
<tr class="separator:a0ac3bce54889b8fdbdc4c982bda226e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a523f340f56768a09ff2d4b1975c4e6f6"><td class="memItemLeft" align="right" valign="top"><a id="a523f340f56768a09ff2d4b1975c4e6f6"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>lod</b></td></tr>
<tr class="separator:a523f340f56768a09ff2d4b1975c4e6f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08148c8ec78c82b2e6f4b5927e8e14b2"><td class="memItemLeft" align="right" valign="top"><a id="a08148c8ec78c82b2e6f4b5927e8e14b2"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>realLightLOD</b></td></tr>
<tr class="separator:a08148c8ec78c82b2e6f4b5927e8e14b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ff38cf5aeca7dcfc48408205f1c0405"><td class="memItemLeft" align="right" valign="top"><a id="a0ff38cf5aeca7dcfc48408205f1c0405"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>dirtyMask</b></td></tr>
<tr class="separator:a0ff38cf5aeca7dcfc48408205f1c0405"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8874751ae40293bbf5e943297eb1e968"><td class="memItemLeft" align="right" valign="top"><a id="a8874751ae40293bbf5e943297eb1e968"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>fStartRange</b></td></tr>
<tr class="separator:a8874751ae40293bbf5e943297eb1e968"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4555f3f8477704a22f1ffbeaf504bf09"><td class="memItemLeft" align="right" valign="top"><a id="a4555f3f8477704a22f1ffbeaf504bf09"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>fEndRange</b></td></tr>
<tr class="separator:a4555f3f8477704a22f1ffbeaf504bf09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9e91c7267c2ee41e872d865977fcba8"><td class="memItemLeft" align="right" valign="top"><a id="aa9e91c7267c2ee41e872d865977fcba8"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>fSpotInnerAngle</b></td></tr>
<tr class="separator:aa9e91c7267c2ee41e872d865977fcba8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af94a4574c7c4dd71f983ecd394cab966"><td class="memItemLeft" align="right" valign="top"><a id="af94a4574c7c4dd71f983ecd394cab966"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>fSpotOuterAngle</b></td></tr>
<tr class="separator:af94a4574c7c4dd71f983ecd394cab966"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7cc3949d20ac6f9c56c590359f5e024"><td class="memItemLeft" align="right" valign="top"><a id="aa7cc3949d20ac6f9c56c590359f5e024"></a>
LightType&#160;</td><td class="memItemRight" valign="bottom"><b>lightType</b></td></tr>
<tr class="separator:aa7cc3949d20ac6f9c56c590359f5e024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c533d946d0393e08fffb52e261de1fd"><td class="memItemLeft" align="right" valign="top"><a id="a1c533d946d0393e08fffb52e261de1fd"></a>
osg::Object::DataVariance&#160;</td><td class="memItemRight" valign="bottom"><b>dataVariance</b></td></tr>
<tr class="separator:a1c533d946d0393e08fffb52e261de1fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f79013479096e5b8a1c368a17c2f1e1"><td class="memItemLeft" align="right" valign="top"><a id="a8f79013479096e5b8a1c368a17c2f1e1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>cullingActive</b></td></tr>
<tr class="separator:a8f79013479096e5b8a1c368a17c2f1e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="struct_open_i_g_1_1_base_1_1_light_attributes.html" title="The LightAttributes struct. ">LightAttributes</a> struct. </p>
<p>This struct is used to pass data to the available plugins that are provinding lighting implementation. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a93f40cfa72885892e32a6fabc4d8aa0b">OpenIG::Base::ImageGenerator::addLight</a> <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a538d0a4158de1f3e6e2e753d0e93643f">OpenIG::Base::ImageGenerator::setLightImplementationCallback</a> </p><dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Sun Jan 11 2015 </dd></dl>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>Core-Base/<a class="el" href="_types_8h_source.html">Types.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed May 16 2018 15:41:11 for OpenIG by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
